html {
  width: 100%;
  height: 100%;
  line-height: 1.5;
  tab-size: 4;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Arial Regular", sans-serif;
  font-size: 14px;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  background-color: rgb(247 248 250);
}

*,
::before,
::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-size: 100%;
  vertical-align: baseline;
  border: 0;
}

img,
svg {
  display: inline-block;
}

svg {
  // 因icon大小被设置为和字体大小一致，而span等标签的下边缘会和字体的基线对齐，故需设置一个往下的偏移比例，来纠正视觉上的未对齐效果
  vertical-align: -0.15em;
}

ul,
li {
  list-style: none;
}

a,
a:focus,
a:active,
a:hover,
input:focus,
div:focus {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.clearfix::after,
.clearfix::before {
  display: block;
  clear: both;
  content: "";
}

//页面
.pages-header {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;

  .pages-bos {
    flex: 1;
    overflow-y: auto;
  }
}

/* 布局flex */
.flex-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-row-around {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.flex-row-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-row-start {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flex-row-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.flex-column-between {
  display: -webkit-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flex-column-center {
  display: -webkit-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flex-start {
  align-items: flex-start;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.pages_table {
  border-top: 1px solid #e6e6e6;
  border-right: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;
}

//弹窗
.dialog-bos {
  .el-dialog__title {
    font-size: 16px;
    font-weight: bold;
  }
}

.wrap-text {
  hyphens: auto;
  word-break: break-all;
  word-wrap: break-word;
  white-space: normal;
}

.bg-cover {
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
